home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / utility / atsend18.zip / ATSEND.DOC < prev    next >
Text File  |  1992-11-27  |  7KB  |  216 lines

  1.  
  2.                               ATSEND V1.8
  3.                            (Formerly AT.EXE)
  4.     By Joseph Sheppard, Sysop, The Ledge PCBoard - (818) 896-4015
  5.  
  6.  
  7. ───────────
  8. DESCRIPTION
  9. ───────────
  10.  
  11. ATSEND.EXE allows users to send "AT" commands to Hayes compatible modems
  12. from the DOS command prompt, or from batch files.
  13.  
  14. ATSEND.EXE does not need a DTR utility to make it work.  DTR is handled
  15. directly by ATSEND.
  16.  
  17. ATSEND.EXE follows the DSZPORT= setting if it's found in the DOS
  18. environment.
  19.  
  20. ATSEND.EXE works with non-standard COM ports via environment
  21. variables COMBASE and COMIRQ.
  22.  
  23. ATSEND.EXE can be used to dial a telephone.  It is small enough
  24. to be shelled out to by most database programs to create dialing
  25. routines.
  26.  
  27. ATSEND.EXE is written with Borland's Turbo Pascal  using communication
  28. routines from Prokit, (c) Samuel Smith.
  29.  
  30. ATSEND.EXE is not "Free Software".  If you use it for more than
  31. 30 days, registration is required.  See the section titled
  32. "Registration" in this document.
  33.  
  34. ────────────
  35. HOW IT WORKS
  36. ────────────
  37.  
  38. To send a command to the modem, the user runs ATSEND.EXE by
  39. typing ATSEND at the DOS command prompt followed by the command to be sent
  40. to the modem, and the port the modem is connected to.
  41.  
  42. The default port is COM1 at standard address 3F8/IRQ4, so if your modem is
  43. attached to COM1 then you don't need to specify a port on the command line,
  44. or put it in the DOS environment using the DSZPORT variable.
  45.  
  46. If your modem is connected to COM2 at standard address 2F8/IRQ3, then you
  47. will always need to follow the command to be sent with the number 2, or
  48. have DSZPORT=2 in your DOS environment.  Non-Standard COM Ports are
  49. supported and explained later in this document.
  50.  
  51. An environment variable called ATOK is used to disable the
  52. time-out routines.  This is useful when ATSEND is to be used to
  53. dial a telephone.  To keep the modem from waiting for the modem
  54. to return an "OK" place ATOK=NO in your environment.
  55.  
  56. ────────
  57. EXAMPLES
  58. ────────
  59.  
  60. ATSEND H1               (Take modem connected to COM1 off the hook)
  61.  
  62. ATSEND H1M0 2           (Take modem connected to COM2 off hook and turn-off
  63.                         speaker)
  64.  
  65. ATSEND M1DT18188964015  (Tell modem connected to COM1 to dial
  66.                         1-818-896-4015). Use the ATOK environment
  67.                         variable when using ATSEND to dial a
  68.                         telephone.
  69.  
  70. ATSEND Z 2              (Perform a reset on the modem connected to COM2)
  71.  
  72. To use the DSZPORT variable, and avoid having to type the port
  73. number on the command line, put the following line in your
  74. AUTOEXEC.BAT file:  SET DSZPORT=<PORT>.  For example, if you are
  75. using COM2:
  76.  
  77. SET DSZPORT=2
  78.  
  79. ───────────────────────────
  80. NON-STANDARD PORT SETTINGS:
  81. ───────────────────────────
  82.  
  83. ATSEND works with standard and non-standard serial port configurations.
  84. Here are the defaults:
  85.  
  86. Port    Base Address    IRQ
  87.  
  88. COM1    3F8             IRQ4
  89. COM2    2F8             IRQ3
  90. COM3    3E8             IRQ4
  91. COM4    2E8             IRQ3
  92. COM5    Undefined       Undefined
  93. COM6    Undefined       Undefined
  94. COM7    2E8             IRQ5
  95. COM8    3E8             IRQ5
  96.  
  97. If you use these setups, you can simply specify the port number in your
  98. ATSEND command line (Example: ATSEND Z 8 to reset a modem on COM8:):
  99.  
  100. If your port is setup differently, then ATSEND will look for two
  101. environment variables called COMBASE and COMIRQ.
  102.  
  103. COMBASE must be converted from hex to decimal in order to work properly
  104. (Example 744 for 2E8).  A utility called HEX2DEC.EXE is included to assist
  105. in changing your hex port address to decimal.
  106.  
  107. COMIRQ is simply the IRQ number being used.
  108.  
  109. For example, if you were going to run COM7 with a Base Address of 2F8 on
  110. IRQ2, at the DOS prompt, or in a batch file you would type:
  111.  
  112. SET COMBASE=760
  113. SET COMIRQ=2
  114.  
  115. This setting will override any DSZPORT, or command line commands.
  116. I have included a program called HEX2DEC.EXE that can be used to
  117. convert your hex port address into decimal.  If COMBASE and COMIRQ are in
  118. the environment, there is no need to put the port number on the command
  119. line.
  120.  
  121. ───────────
  122. ATBATCH.EXE
  123. ───────────
  124.  
  125. ATBatch is the easy way out.  It will create batch files for you
  126. that send the proper commands to ATSEND, including COMIRQ and
  127. COMBASE, including automatic hex to decimal conversion.  Use
  128. ATBATCH to create a batch file called ATH1.BAT.  Then you can
  129. just type ATH1 from DOS just like you were inside your favorite
  130. terminal program!
  131.  
  132. ────
  133. USES
  134. ────
  135.  
  136. I wrote this as a utility to take my modem off the hook during BBS mail
  137. runs so that callers wouldn't ring the line during the event.  I'm sure
  138. there are other uses for it, and would be interested in hearing from
  139. users who find new ways to use this program.
  140.  
  141. ───────
  142. SUPPORT
  143. ───────
  144.  
  145. The latest version of this program along with other software I have written
  146. are always available for download by first time callers to my BBS, The
  147. Ledge PCBoard, 818-896-4015 (HST/V32.bis). First time callers may download
  148. my programs on the first call when they use the "SUPPORT DOOR" which can be
  149. found by typing the word OPEN at the main menu.  You may pay for
  150. registration online with MASTERCARD or VISA when you call The Ledge and
  151. type REGISTER at the main menu command prompt.
  152.  
  153. Please report any problems, or suggestions to me at the following
  154. addresses:
  155.  
  156. US Mail:
  157. --------
  158. Joseph Sheppard
  159. The Ledge PCBoard
  160. 6858 Acco Street
  161. Los Angeles, CA 90040
  162.  
  163. Modem:
  164. ------
  165. The Ledge PCBoard
  166. 818-896-4015
  167. USRobotics Dual Standard HST (V.32bis)
  168.  
  169. Echo Mail:
  170. ----------
  171. U'NI-net (All Conferences)
  172.  
  173. Compuserve:
  174. -----------
  175. 73175,623
  176.  
  177. ────────────
  178. REGISTRATION
  179. ────────────
  180.  
  181. ATSEND.EXE is fully functional.  this is not crippled or limited software.
  182. You can support this method of distribution, and encourage it to continue
  183. by sending a shareware registration of $10.00.
  184.  
  185. For registrations by Visa, Mastercard, Discover or American
  186. Express please call The Ledge PCBoard at (818) 896-4015 and enter
  187. the word REGISTER at the main menu command prompt.
  188.  
  189. Checks and Money Orders may be made payable to THE LEDGE PCBOARD and mailed
  190. to:
  191.  
  192.                 JOSEPH SHEPPARD
  193.                 THE LEDGE PCBOARD
  194.                 6858 ACCO STREET
  195.                 LOS ANGELES, CA 90040
  196.  
  197. ───────
  198. WARNING
  199. ───────
  200.  
  201. I make no warranty of any kind, express or implied, including without
  202. limitation, any warranties of merchantability and/or fitness for a
  203. particular purpose.  I shall not be liable for any damages, whether
  204. direct, indirect, special or consequential arising from a failure of
  205. this program to operate in the manner desired by the user.  I shall
  206. not be liable for any damage to data or property which may be caused
  207. directly or indirectly by the use of this program.
  208.  
  209. IN NO EVENT WILL I BE LIABLE TO YOU FOR ANY DAMAGES, INCLUDING ANY
  210. LOST PROFITS, LOST SAVINGS OR OTHER INCIDENTAL OR CONSEQUENTIAL
  211. DAMAGES ARISING OUT OF YOUR USE OR INABILITY TO USE THE PROGRAM, OR
  212. FOR ANY CLAIM BY ANY OTHER PARTY.
  213.  
  214.  
  215.  
  216.